if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[sp_NganhHang_Update]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[sp_NganhHang_Update]
GO
CREATE PROC [sp_NganhHang_Update]
	@id		int,
	@ten		nvarchar(100),
	@Ghi_chu 	nvarchar(500)
AS
BEGIN
	UPDATE NganhHang
		SET
			Ten = @ten,
			Ghi_chu = @Ghi_chu 
	where id = @id

		
END